<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta name="Author" content="百度网民">
	<meta name="Keywords" content="百度网民酒店管理系统">
	<meta name="Description" content="百度网民酒店管理系统">
	<title>酒店管理系统登录页面</title>
	<link href="../../../css/home/css/index.css" type="text/css" rel="Stylesheet" />
	<link href="../../../css/home/css/login.css" type="text/css" rel="Stylesheet" />
</head>

<body>

	<header>
		<div>
			<a href="index.html"><img src="../../../imges/home/images/logo-1.jpg" alt=""></a> <span>会员登录</span>
		</div>

	</header>
	<section>
		<div class="left">
			<img src="../../../imges/home/images/index.jpg" alt="">
		</div>
		<div class="login">




			<div id="normal">
				<ul id="nor_log">
					<li class="name" style="margin-top:25px;">
						<input id="name" name="uname" type="text" placeholder="请输入用户名">
						<span class="icon"></span>
					</li>
					<li class="pwd" style="margin-top:25px;">
						<input id="password" name="upwd" type="password" placeholder="密码">
						<span class="icon"></span>
					</li>
				</ul>
				<!--<div class="codes">-->
				<!--<input class="blur" type="text" value="请输入验证码">-->
				<!--&lt;!&ndash;验证码&ndash;&gt;-->
				<!--<div></div>-->
				<!--<a class="change" href="javascript:codes();">换一张</a>-->
				<!--</div>-->
				<div class="codes" style="margin-top:25px;">
					<input id="vcode" maxlength="4" type="text" class="blur" placeholder="请输入验证码" />
					<img id="cpacha-img" src="../system/get_cpacha?vl=4&w=173&h=33&type=accountLoginCpacha"
						onclick="changeVcode()" class="code" style="cursor:pointer;" />
				</div>

			</div>

			<div class="log" id="bt_login" style="margin-top:25px;cursor:pointer;">登 录</div>

		</div>
		<div class="reg">
			<a href="reg.html">立即注册 &gt;&gt;</a>
		</div>
	</section>

	<div id="c_footer" class="clear">
		<p style="text-align: center;">
			<a href="../index/index.html">首页</a>|
			<a href="#">关于我们</a>|
			<a href="http://www.baidu.com" target="_blank">百度网民</a>|
			<a href="../../system/login.html" target="_blank">登录后台</a>
		</p>
	</div>

	<script src="../../../js/jquery-3.4.1.min.js"></script>
	<script>
		function changeVcode() {
			$("#cpacha-img").attr("src", '../system/get_cpacha?vl=4&w=173&h=33&type=accountLoginCpacha&t=' + new Date().getTime());
		}
		$(document).ready(function () {
			$("#bt_login").click(function () {
				var name = $("#name").val();
				var password = $("#password").val();
				var vcode = $("#vcode").val();
				if (name == '' || password == '' || vcode == '') {
					alert('请填写完成信息再提交!');
					return;
				}
				// $.ajax({
				// 	url: 'login',
				// 	type: 'post',
				// 	dataType: 'json',
				// 	data: { name: name, password: password, vcode: vcode },
				// 	success: function (data) {
				// 		if (data.type == 'success') {
				// 			window.location.href = 'index';
				// 		} else {
				// 			alert(data.msg)
				// 			changeVcode();
				// 		}
				// 	}
				// });
			})
		});
	</script>
</body>

</html>